<template>
	<scroll-view scroll-y="true">
		<!-- #ifndef H5 -->
		<map style="width: 100%; height: 300px;" :latitude="latitude" :longitude="longitude" :markers="covers" ></map>
		<!-- #endif -->
		<!-- #ifdef H5 -->
		<map style="width: 100%; height: 500px;" :latitude="latitude" :longitude="longitude" :markers="covers" ></map>
		<!-- #endif -->
		<uni-section title="基本操作" type="line">
			<uni-list>
				<uni-list-item :title="userInfo== null? '用户登录':'个人信息'" clickable thumb="/static/img/login.png"
					thumb-size="base"  link to="/components/login/login"></uni-list-item>
			</uni-list>
		</uni-section>
	
	</scroll-view>
</template>

<script>
	import {doNavigatePage} from '@/js/navigatePage'
	import {mapGetters} from 'vuex'
	export default {
		data() {
			return {
				// longitude: 115.47146,
				// latitude: 38.87999,
				longitude: 115.902506,
				latitude: 39.036310,
				covers: [{
					id:2,
					latitude: 39.036310,
					longitude: 115.902506,
					iconPath: '/static/img/坐标.png',
					height: 35,
					width: 30
				}],
				
			}
		},
		computed:{
			...mapGetters({userInfo:'login/userInfo',wxAdmin:'login/wxAdmin'})
		}
		,
		methods: {
		
		}
	}
</script>

<style>

</style>
